package com.itheima.health.service;

import com.itheima.health.entity.PageResult;
import com.itheima.health.entity.QueryPageBean;
import com.itheima.health.pojo.Permission;

import java.util.List;

/**
 * @author ：lizimo
 * @date ：Created in 2020/1/2
 * @description ：用户权限接口
 * @version: 1.0
 */
public interface UserPermissionService {

    void add(Permission permission);

    void delete(Integer id);

    void edit(Permission permission);

    Permission findById(Integer id);

    List<Permission> findAll();

    PageResult pageQuery(QueryPageBean queryPageBean);
}
